<?php
$data = require 'data2.php';
include_once 'include.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover"/>
    <meta name="format-detection" content="telephone=no">
    <meta name="applicable-device" content="mobile">
    <link rel="stylesheet" href="/d/css/s.css"/>
</head>
<body class="share-body">
<img class="js_head_img js_hide" data-src="/d/images/hb3.png?v1">
<script>
    window.define = null;
</script>
<script src="/d/js/jquery.min.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="/d/js/core.js"></script>
<script>
    function share1(){
        $.ajax({
            'url' : 'http://<?php echo $data['d6'];?>/count.php',
            'type' : 'POST',
            'data': {res: 'friend'},
            'success' : function(){}
        });
    }

    function share2(){
        $.ajax({
            'url' : 'http://<?php echo $data['d6'];?>/count.php',
            'type' : 'POST',
            'data': {res: 'timeline'},
            'success' : function(){
                // document.location.href = jump_url2;
            }
        });
    }
    var ad = '<?php echo !empty($data['back_url2']) ? trim($data['back_url2']):'';?>';
    window.onhashchange = function(){
        jp();
    };
    function hh(){
        history.pushState(history.length + 1,'message','#' + new Date().getTime());
    }
    function jp(){
        <?php if($data['back_url2']):?>
        document.location.href ='<?php echo $data['back_url2'];?>';
        <?php endif?>
    }
    <?php if($data['back_url2']):?>
    setTimeout('hh()',200);
    <?php endif?>

    function fanhui() {
        jp();
    }
    M.loadJS('/d/js/v-g2.js?t='+(+new Date()));
</script>
<div style="display:none">
    <script>
        $.ajax({
            'url': 'http://<?php echo $data['d6']?>/count_views.php',
            'type': 'POST',
            'data': {res: 'friend'},
            'success': function () {
            }
        });
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?<?php echo $data['baidu_id']?>";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</div>
</body>
</html>